# include <stdio.h>
# include <conio.h>
# include <math.h>
void main()
{double y,x,a,b;
printf("x=");scanf("%lg",&x);
printf("a=");scanf("%lg",&a);
printf("b=");scanf("%lg",&b);
if ((x>0)&&(b<a))
	y=pow(sin(pow(a,2)-pow(b,2)),2);
else
	y=cos(a+b)-exp(x);
printf("y=%lg",y);
getch();
}
